# -*- coding: utf-8 -*-
#python compile.py py2exe
from distutils.core import setup
import py2exe
import glob



excludes = [
    "pywin",
    "pywin.debugger",
    "pywin.debugger.dbgcon",
    "pywin.dialogs",
    "pywin.dialogs.list",
    "win32com.server",
]
options = {
    "bundle_files": 1,                    # create singlefile exe
    "compressed"  : 1,                 # compress the library archive
    "excludes"    : excludes,
    "dll_excludes": ["w9xpopen.exe", "MSVCP90.dll"]   # we don't need this
}
setup(
    options = {"py2exe": options},
    zipfile = None,                    # append zip-archive to the executable
    #console = ["apollo_image.py"],
    windows = ["MyFrame.py"],
    data_files=[("images",glob.glob("images/*"))]
)
'''
'''